import axios from 'axios'

const api = axios.create({
  baseURL: 'http://localhost:3000/',
  timeout: 3000,
})

export const userLogin = (data) => {
  return api.post('/login', data)
}


export const home = (data) => {
  return api.get('/home', data)
}

